Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug from PR#239 in EnzoMethodPmDeposit #253

Merged
merged 3 commits into from
Jul 9, 2022

Conversation

mabruzzo
Copy link
Contributor

@mabruzzo mabruzzo commented Jul 7, 2022

PR #239 introduced a minor bug in which array used for storing the output of dep_grid_cic was not large enough. This caused dep_grid_cic to write values to invalid locations in memory. This bug manifested in weird ways when using compiling with intel compilers (under special conditions)

In addition to fixing that bug, some variable names were updated so that their significance is more obvious

mabruzzo added 2 commits July 7, 2022 13:32
PR enzo-project#239 introduced a minor bug in which array used for storing the output of dep_grid_cic was not large enough. This caused dep_grid_cic to write values to invalid locations in memory. This bug manifested in weird ways when using compiling with intel compilers (under special conditions)

In addition to fixing that bug, some variable names were updated so that their significance became more apparent
@tumlinson tumlinson self-requested a review July 8, 2022 00:19
@peeples peeples requested review from gregbryan July 8, 2022 01:05
Copy link
Contributor

@gregbryan gregbryan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is likely due to the fact that CIC deposition can end up with mass off the edge of the active grid.

Copy link
Contributor

@tumlinson tumlinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved based on success of modest cosmo runs that had previously failed.

@tumlinson tumlinson merged commit 41bdec4 into enzo-project:main Jul 9, 2022
@mabruzzo mabruzzo deleted the PmDepositBugfix branch July 11, 2022 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants